<!DOCTYPE html>
<html>
<head th:include="common/header_css::header('霸王餐小程序后台管理-分销会员升级推荐数','%')"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="ibox float-e-margins">
        <div th:replace="common/toolbar::toolbar('分销会员升级推荐数管理')"></div>
        <div th:replace="common/search::search('%add')"></div>
    </div>
</div>

<!--添加FenxiaoTui模态框-->
<div id="modal-add-form" class="modal fade" aria-hidden="true">
    <div class="modal-dialog" style="width: 800px;">
        <div class="modal-content">
            <div class="modal-body">
                <div class="row">
                    <h3 class="m-t-none m-b">分销会员升级推荐数添加</h3>
                    <div class="col-sm-12">
                        <div class="ibox float-e-margins">
                            <div class="ibox-content">
                                <form id="aform" method="post" class="form-horizontal" action="add" onsubmit="return checkAdd()">
                                                                                                                                                                                                                                                                                                                                                                                                                                                                <div class="row">
                                                                                                                                    <div class="col-md-6">
                                                <div class="form-group">
                                                    <label class="col-sm-4 control-label" >会员级别</label>
                                                    <div class="col-sm-8">
                                                            <input  class="form-control" name="mlevel"
                                                                                                                                                                                                type="number" />
                                                                                                                </div>
                                                </div>
                                            </div>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <div class="col-md-6">
                                                <div class="form-group">
                                                    <label class="col-sm-4 control-label" >一级推荐数</label>
                                                    <div class="col-sm-8">
                                                            <input  class="form-control" name="tui1"
                                                                                                                                                                                                type="number" />
                                                                                                                </div>
                                                </div>
                                            </div>
                                                                                                                                        </div>
                                                                                                                                                                                                                                                                                                                                                                                                                                        <div class="row">
                                                                                                                                    <div class="col-md-6">
                                                <div class="form-group">
                                                    <label class="col-sm-4 control-label" >二级推荐数</label>
                                                    <div class="col-sm-8">
                                                            <input  class="form-control" name="tui2"
                                                                                                                                                                                                type="number" />
                                                                                                                </div>
                                                </div>
                                            </div>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <div class="col-md-6">
                                                <div class="form-group">
                                                    <label class="col-sm-4 control-label" >三级推荐数</label>
                                                    <div class="col-sm-8">
                                                            <input  class="form-control" name="tui3"
                                                                                                                                                                                                type="number" />
                                                                                                                </div>
                                                </div>
                                            </div>
                                                                                                                                        </div>
                                                                                                                                                                                                                                                                                                                                                                                                                                        <div class="row">
                                                                                                                                    <div class="col-md-6">
                                                <div class="form-group">
                                                    <label class="col-sm-4 control-label" >四级推荐数</label>
                                                    <div class="col-sm-8">
                                                            <input  class="form-control" name="tui4"
                                                                                                                                                                                                type="number" />
                                                                                                                </div>
                                                </div>
                                            </div>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <div class="col-md-6">
                                                <div class="form-group">
                                                    <label class="col-sm-4 control-label" >五级推荐数</label>
                                                    <div class="col-sm-8">
                                                            <input  class="form-control" name="tui5"
                                                                                                                                                                                                type="number" />
                                                                                                                </div>
                                                </div>
                                            </div>
                                                                                                                                        </div>
                                                                                                                                                                                                                                                                                                                                                                                                                                        <div class="row">
                                                                                                                                    <div class="col-md-6">
                                                <div class="form-group">
                                                    <label class="col-sm-4 control-label" >六级推荐数</label>
                                                    <div class="col-sm-8">
                                                            <input  class="form-control" name="tui6"
                                                                                                                                                                                                type="number" />
                                                                                                                </div>
                                                </div>
                                            </div>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <div class="col-md-6">
                                                <div class="form-group">
                                                    <label class="col-sm-4 control-label" >七级推荐数</label>
                                                    <div class="col-sm-8">
                                                            <input  class="form-control" name="tui7"
                                                                                                                                                                                                type="number" />
                                                                                                                </div>
                                                </div>
                                            </div>
                                                                                                                                        </div>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <div class="form-group">
                                        <div class="col-sm-4 col-sm-offset-2">
                                            <button class="btn btn-primary" type="submit">保存内容</button>
                                            <button data-toggle="modal" type="button" class="btn btn-white" href="#modal-add-form" >取消</button>
                                        </div>
                                    </div>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        </form>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<!--修改FenxiaoTui模态框-->
<div id="modal-form" class="modal fade" aria-hidden="true">
    <div class="modal-dialog" style="width: 800px;">
        <div class="modal-content">
            <div class="modal-body">
                <div class="row">
                    <h3 class="m-t-none m-b">分销会员升级推荐数修改</h3>
                    <div class="col-sm-12">
                        <div class="ibox float-e-margins">
                            <div class="ibox-content">
                                <form id="mform" method="post" class="form-horizontal" action="modify" onsubmit="return checkModify()">
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <div class="row">
                                                                                                                                    <div class="col-md-6">
                                                <div class="form-group">
                                                    <label class="col-sm-4 control-label" >会员级别</label>
                                                    <div class="col-sm-8">
                                                        <input  class="form-control" id="mlevel" name="mlevel"
                                                                                                                                                                                       type="number" />
                                                                                                                </div>
                                                </div>
                                            </div>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <div class="col-md-6">
                                                <div class="form-group">
                                                    <label class="col-sm-4 control-label" >一级推荐数</label>
                                                    <div class="col-sm-8">
                                                        <input  class="form-control" id="tui1" name="tui1"
                                                                                                                                                                                       type="number" />
                                                                                                                </div>
                                                </div>
                                            </div>
                                                                                                                                    </div>
                                                                                                                                                                                                                                                                                                                                                                                                                                        <div class="row">
                                                                                                                                    <div class="col-md-6">
                                                <div class="form-group">
                                                    <label class="col-sm-4 control-label" >二级推荐数</label>
                                                    <div class="col-sm-8">
                                                        <input  class="form-control" id="tui2" name="tui2"
                                                                                                                                                                                       type="number" />
                                                                                                                </div>
                                                </div>
                                            </div>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <div class="col-md-6">
                                                <div class="form-group">
                                                    <label class="col-sm-4 control-label" >三级推荐数</label>
                                                    <div class="col-sm-8">
                                                        <input  class="form-control" id="tui3" name="tui3"
                                                                                                                                                                                       type="number" />
                                                                                                                </div>
                                                </div>
                                            </div>
                                                                                                                                    </div>
                                                                                                                                                                                                                                                                                                                                                                                                                                        <div class="row">
                                                                                                                                    <div class="col-md-6">
                                                <div class="form-group">
                                                    <label class="col-sm-4 control-label" >四级推荐数</label>
                                                    <div class="col-sm-8">
                                                        <input  class="form-control" id="tui4" name="tui4"
                                                                                                                                                                                       type="number" />
                                                                                                                </div>
                                                </div>
                                            </div>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <div class="col-md-6">
                                                <div class="form-group">
                                                    <label class="col-sm-4 control-label" >五级推荐数</label>
                                                    <div class="col-sm-8">
                                                        <input  class="form-control" id="tui5" name="tui5"
                                                                                                                                                                                       type="number" />
                                                                                                                </div>
                                                </div>
                                            </div>
                                                                                                                                    </div>
                                                                                                                                                                                                                                                                                                                                                                                                                                        <div class="row">
                                                                                                                                    <div class="col-md-6">
                                                <div class="form-group">
                                                    <label class="col-sm-4 control-label" >六级推荐数</label>
                                                    <div class="col-sm-8">
                                                        <input  class="form-control" id="tui6" name="tui6"
                                                                                                                                                                                       type="number" />
                                                                                                                </div>
                                                </div>
                                            </div>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <div class="col-md-6">
                                                <div class="form-group">
                                                    <label class="col-sm-4 control-label" >七级推荐数</label>
                                                    <div class="col-sm-8">
                                                        <input  class="form-control" id="tui7" name="tui7"
                                                                                                                                                                                       type="number" />
                                                                                                                </div>
                                                </div>
                                            </div>
                                                                                                                                    </div>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <div class="form-group">
                                        <div class="col-sm-4 col-sm-offset-2">
                                            <button class="btn btn-primary" type="submit">保存内容</button>
                                            <button data-toggle="modal" type="button" class="btn btn-white" href="#modal-form" >取消</button>
                                        </div>
                                    </div>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <input id="id" name="id" type="hidden" value="" />
                                </form>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="common/footer_js::footer"></div>
                                                                                                                                                            <script src="/js/admin/fenxiaotui.js"></script>
</body>
</html>
